var vm = {
    data() {
        return {
            pdfUrl: null
        }
    },
    beforeRouteEnter: (to, from, next) => {
        next(vm => {
            vm.pdfUrl = to.query.pdfUrl
        })
    }
}

export default vm